﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using EntityModel;
using Business;
using Common;

namespace LMS.Controllers
{
    public class HomeController : BaseController
    {
        public ActionResult Index()
        {
            ViewBag.Message = "Modify this template to kick-start your ASP.NET MVC application.";

          //  UserModel user = new UserModel()
          //  {
          //      Key = 1,
          //      AgentID = 1,
          //      AgentCode = "123456",
          //      FullName = "Hao Vo"
          //  };

          //var objChannel = new ChannelBC();
          //  var result = objChannel.GetAllByArea(5, "ChannelCode", SORT_ORDER.ASCENDING, 2, 10);

            return View();
        }

        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";

            return View();
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";

            return View();
        }                
    }
}
